package com.woniu.mapper.medicalService;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.model.medicalService.entity.Hospital;

import java.util.List;
import java.util.Map;

//医院表
public interface HospitalMapper extends BaseMapper<Hospital> {

    //条件 分页查询
    List<Hospital> findByName(Map<String, Object> condition);

    //获取总数
    int getCount();

}
